package com.easy.util;

import com.easy.bean.Address;
import com.easy.bean.ShoppingAddress;

public class EasyUtil {

    public static void shoppingObj(Address addr, ShoppingAddress saddr){
        saddr.setCity(addr.getCity());
        saddr.setDetailedaddress(addr.getDetailedaddress());
        saddr.setProvince(addr.getProvince());
        saddr.setDistrict(addr.getDistrict());
        saddr.setPhonenumber(addr.getPhonenumber());
        saddr.setReceivername(addr.getReceivername());

    }
}
